package edu.xlh.travel.service;

import edu.xlh.travel.common.Result;
import edu.xlh.travel.pojo.TotalScore;

import javax.servlet.http.HttpSession;

public interface TotalScoreService {
    TotalScore findByUserId(String userId);

    void updateTotalScoreByUserId(String id , Integer totalScore);

    Result findAllTotalScore(int page, int limit, HttpSession session);

    Result getTotalScoreByUserId(HttpSession session);

    Result QueryTotalScoreByCondition(Integer page, Integer limit, TotalScore totalScore, HttpSession session);

    void updateTotalScoreByUserIdForPay(String userId, String totalScore);

    void save(TotalScore totalScore);
}
